package com.lt.experiment06.mission01;

/**
 * @author LT
 * @version 1.0
 * @PackageName com.lt.experiment06.mission01
 * @ClassName Test
 * @Description to do
 * @date 2021/11/28 17:33
 */
public class Test {
    public static void main(String[] args) {
        PanelControl panelControl = new PanelControl();
        PlayerDetail playerDetail = new PlayerDetail();
        Property property = new Property();
        panelControl.addObserver(playerDetail);
        panelControl.addObserver(property);
        System.out.println("------测试用例1------");
        panelControl.change1();
        System.out.println("------测试用例2------");
        panelControl.change2();
        System.out.println("------测试用例3------");
        panelControl.change3();
    }
}
